export default function xian(viewer) {

  var positions2 = [
    Cesium.Cartesian3.fromDegrees(116.907945, 35.255355), // 起点
    Cesium.Cartesian3.fromDegrees(117.105488, 36.698706), // 终点
  ]
  // var color = Cesium.Color.WHITE.withAlpha(0.5) // 半透明的白色
  // var gradient = new Cesium.PolylineVolumeGradient(color) // 创建渐变对象
  var line = viewer.entities.add({
    polyline: {
      positions: positions2,
      width: 5,
      material: Cesium.Color.RED,
    },
  })
  // console.log(url);
}